package com.proximity.service;

import java.util.Collection;

import com.proximity.dto.UserDto;

public interface UserService {
	
	public UserDto find(Long id);
	public UserDto save(UserDto user);
	public void remove(Long id);
	
	/** users **/
	public Collection<UserDto> findAll();
	public UserDto findByName(String name);
	public Collection<UserDto> findByLocation(Float latitude, Float longitude, Integer latitudeSpan, Integer longitudeSpan);
	
}
